package com.gxa.index.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.util.Date;
import java.math.BigDecimal;
/** 
 * @team mackie Studio 
 * @Author kk 
 * @Date 2023-04-10 18:38:02 
 */

@Data
@TableName("house")
public class House  implements Serializable {

	private static final long serialVersionUID =  3819095864469607444L;

	/**
	 * 房产id
	 */

   	@TableId(value = "id",type = IdType.AUTO)
	private Integer id;

	/**
	 * 用户id
	 */
   	@TableField("customer_id" )
	private Integer customerId;

	/**
	 * 房产购买日期
	 */
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
   	@TableField("purchase_date" )
	private Date purchaseDate;

	/**
	 * 房产价格
	 */
   	@TableField("price" )
	private BigDecimal price;

	/**
	 * 房产所属项目（0.爱彼迎 等）
	 */
   	@TableField("project_attribution" )
	private Integer projectAttribution;

	/**
	 * 房产编号
	 */
   	@TableField("number" )
	private String number;

	/**
	 * 房产位置
	 */
   	@TableField("location" )
	private String location;

	/**
	 * 房产面积
	 */
   	@TableField("area" )
	private BigDecimal area;

	/**
	 * 房产楼层
	 */
   	@TableField("floor" )
	private Integer floor;

	/**
	 * 房间号
	 */
   	@TableField("room_num" )
	private Integer roomNum;

	/**
	 * 房产说明
	 */
   	@TableField("description" )
	private String description;

	/**
	 * 房产付费购买时间
	 */
   	@TableField("payment_time" )
	private Date paymentTime;

	/**
	 * 创建时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
   	@TableField("create_time" )
	private Date createTime;

	/**
	 * 修改时间
	 */
	@JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
   	@TableField("update_time" )
	private Date updateTime;

	/**
	 * 是否删除(0.未删除  1.已删除)
	 */
   	@TableField("is_deleted" )
	private Integer isDeleted;
}
